package com.designpatterns.proxy.staticproxy;

public class SubjectProxy implements ISubject{
    private ISubject subject;

    public SubjectProxy(ISubject subject) {
        this.subject = subject;
    }

    @Override
    public void request() {
        System.out.println("SubjectProxy begin");
        subject.request();
        System.out.println("SubjectProxy end");
    }

}
